function errorMsg(res){
	uni.showToast({
		duration:1700,
		title:res.msg,
		icon:'none'
	})
	if(res.code === -5){
		uni.removeStorageSync('token')
		setTimeout(()=>{
			uni.navigateTo({
				url:'/pages/auth/login'
			})
		},2000)
	}
}

export default{
	errorMsg
}